// by Xeno
private ["_vehicle", "_poss"];
#include "x_setup.sqf"

x_sm_pos = [[10156.522,7827.2759,0], [10056.522,7727.2759,0]]; // index: 15,   Transformer station in Petrovka
x_sm_type = "normal"; // "convoy"

#ifdef __SMMISSIONS_MARKER__
if (true) exitWith {};
#endif

if (X_Client) then {
	d_current_mission_text = "The enemy has repaired a transformer station near the town of Unterluss. Destroy the transformer and keep collateral damage to a minimum.";
	d_current_mission_resolved_text = "Good job. The transformer station is destroyed.";
};

if (isServer) then {
	__PossAndOther
	_vehicle = "Land_trafostanica_velka" createvehicle (_poss);
#ifndef __TT__
	[_vehicle] execFSM "fsms\XCheckSMHardTarget.fsm";
#else
	[_vehicle] execFSM "fsms\XCheckSMHardTargetTT.fsm";
#endif
	sleep 2.22;
	["shilka", 1, "bmp", 0, "tank", 0, _pos_other,1,110,false] spawn XCreateArmor;
	sleep 2.123;
	["specops", 4, "basic", 3, _poss,110,false] spawn XCreateInf;
	__AddToExtraVec(_vehicle)
};